import React from 'react';
//import Demo1 from '../components/Demo1';
//import Demo2 from '../components/Demo2';
import ErrorBoundary from './ErrorBoundary'
import BuggyComponent from '../components/BuggyComponent'

class TestDemo extends React.Component {
    render() {
        return (
            <div>
                <ErrorBoundary>
                    {/* <Demo1 />
                    <Demo2 /> */}
                    <BuggyComponent />
                </ErrorBoundary>
            </div>
        )
    }
}

export default TestDemo;